package deng.quartz;

import java.io.FileReader;
import java.util.Properties;

/**
 * Utilities.
 */
public class Utils
{
	public static Properties loadProperties(String name)
	{
		Properties props = new Properties();
		try {
			props.load(new FileReader(name));
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
		return props;
	}

}
